/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const userRouter = {
  path: '/order',
  component: Layout,
  redirect: '/order/index',
  name: 'Order',
  meta: {
    title: 'order',
    icon: 'money',
    roles:['other','admin','product']
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/order/index'),
      name: 'orderIndex',
      meta: { title: 'orderIndex', icon: 'money' }
    }
  ]
}
export default userRouter
